package com.shelpe.services.scheduler.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;


@Entity(name="campaigns")
public class Campaigns {
	
	@Id
	@Column(name="campaign_id")	 
	private Long campaignId;
	@Column(name="online_status")	   
	private String onlineStatus;
	@Column(name="user_id")	
	private Long userId;
  
	private String nick;
  
	private String title;
   
	private Integer budget;
	@Column(name="settle_status")	  
	private String settleStatus;
	@Column(name="settle_reason")	  
	private String settleReason;
	@Column(name="create_time")	 
	private Date createTime;
	@Column(name="modified_time")	
	private Date modifiedTime;
	@Column(name="updated_time")	  
	private Date updatedTime;
	@Column(name="use_smooth")	
	private String useSmooth;
    
	private String area;
  
	private String schedule;
	@Column(name="incremental_price")	   
	private String incrementalPrice;
	    
	private String platform;
	@Column(name="auto_type")		   
	private Short autoType;
	   
	private Integer limit;

	public Long getCampaignId() {
		return campaignId;
	}

	public void setCampaignId(Long campaignId) {
		this.campaignId = campaignId;
	}

	public String getOnlineStatus() {
		return onlineStatus;
	}

	public void setOnlineStatus(String onlineStatus) {
		this.onlineStatus = onlineStatus;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getBudget() {
		return budget;
	}

	public void setBudget(Integer budget) {
		this.budget = budget;
	}

	public String getSettleStatus() {
		return settleStatus;
	}

	public void setSettleStatus(String settleStatus) {
		this.settleStatus = settleStatus;
	}

	public String getSettleReason() {
		return settleReason;
	}

	public void setSettleReason(String settleReason) {
		this.settleReason = settleReason;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public Date getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public String getUseSmooth() {
		return useSmooth;
	}

	public void setUseSmooth(String useSmooth) {
		this.useSmooth = useSmooth;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getSchedule() {
		return schedule;
	}

	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}

	public String getIncrementalPrice() {
		return incrementalPrice;
	}

	public void setIncrementalPrice(String incrementalPrice) {
		this.incrementalPrice = incrementalPrice;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public Short getAutoType() {
		return autoType;
	}

	public void setAutoType(Short autoType) {
		this.autoType = autoType;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}


}
